package org.learn.test;

public class ArrayReduce {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,};
        int[] arrNew = new int [arr.length - 1];
        for(int i = 0; i < arr.length - 1; i++){
            arrNew[i] = arr[i];
        }
    }
}
